package com.woniuxy.lab.woniu_lab_boss.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author 17292
 */
@Data
public class ParentBaseDto {

    /**
     * id
     */
    @ApiModelProperty(value = "镜像（base）ID" ,example = "1")
    private Integer id;

    /**
     * 镜像名/镜像名+tag
     */
    @ApiModelProperty(value = "镜像名+tag" ,example = "mysql")
    private String name;

    /**
     * 镜像自id
     */
    @ApiModelProperty(value = "镜像自id" ,example = "12jhj123jh21kj3h1jk23h1jk23")
    private String baseId;

    /**
     * 同种不同版本镜像集合（例如：mysql:5，mysql:8）
     */
    @ApiModelProperty(value = "同种不同版本镜像集合" ,example = "mysql:5，mysql:8")
    private List<BaseDto> images;
}
